package cate.game.role.res.guild.msg.envelope;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdGuild;
import cate.game.res.MixRes;
import easy.java.dev.note.NoteField;

@ClientMsg( title = "抢红包的返回")
public class DrawEnvelopeResp implements MsgOutput {
    public DrawEnvelopeResp() {
    }

    @NoteField(value = "抢到的红包id")
    public String uid;

    @NoteField(value = "红包奖励内容")
    public MixRes reward;
   
    public DrawEnvelopeResp(String uid, MixRes reward) {
        this.uid = uid;
        this.reward = reward;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdGuild.DRAW_ENVELOPE_RESP;
    }
}
